<?php


namespace app\index\model;


use think\Model;

class Info extends Model {
    protected $json = ['units'];

    public function getInfo() {
        $info = $this->withoutField(['create_time', 'update_time', 'id'])->find(1);
        return $info;
    }
}